/**
 * 头部组件
 * created by xq on 2018/10/16
 */
import React from 'react'
import SearchBar from './SearchBar'
class Header extends React.Component {
  render() {
    return (
      <div className="header-container">
        {this.props.searchText}<br />
        <SearchBar changeSearchText={this.props.changeSearchText} searchText={this.props.searchText} />
      </div>
    )
  }
}

export default Header